<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Youth-Admin</title>
  <!-- zui css -->
  <link rel="stylesheet" href="/static/dist/css/zui.min.css">
  <link rel="stylesheet" href="/static/dist/theme/black.css">
  <!-- app css -->
  <link rel="stylesheet" href="/static/css/app.css">
  <!-- jquery js -->
  <script src="/static/dist/lib/jquery/jquery.js"></script>

</head>
<body class="bg-primary">
<div class="page page-login text-center">
  <div class="panel">
    <div class="panel-body">
      <div class="logo">
        <a href="#">YOUTH-ADMIN</a>
      </div>
      <form action="login" method="post">
        <c:if test="${!empty msg}">
          <div class="form-group">
            <div class="alert alert-danger-inverse alert-dismissable">
              <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
              <p>${msg}</p>
            </div>
          </div>
        </c:if>



        <div class="form-group">
          <input type="text" name="username" class="form-control" placeholder="ID/帐号" value="admin">
        </div>
        <div class="form-group">
          <input type="password" name="password" class="form-control" placeholder="密码" value="testtest">
        </div>
        <div class="form-group">
          <input type="text" class="form-control" placeholder="验证码">
        </div>
        <button type="submit" class="btn btn-lg btn-primary btn-block">登录</button>

      </form>
    </div>
  </div>
  <footer class="page-copyright page-copyright-inverse">
    <p>WEBSITE BY 青年</p>
    <p>© 2012-2018. All RIGHT RESERVED.</p>
  </footer>
</div>


<!-- zui js -->
<script src="/static/dist/js/zui.min.js"></script>
<!-- app js -->
<script src="/static/js/app.js"></script>
</body>
</html>